package com.picture.wallpaper.core.config;

import com.obs.services.ObsClient;
import com.picture.wallpaper.core.constant.ObsConstant;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class IocConfig {
    @Bean
    public ObsClient getObsClient(){
        return new ObsClient(ObsConstant.OBS_AK,ObsConstant.OBS_SK,ObsConstant.OBS_POINT);
    }
}
